-- card: 6087 from stack: in.3 -- bmap block id: 0 -- flags: 0000 -- background id: 2663 -- name: -- part 1 (button) -- low flags: 00 -- high flags: A004 -- rect: left=285 top=31 right=80 bottom=355 -- title width / last selected line: 0 -- icon id / first selected line: 1000 / 1000 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Go To Stack ----- HyperTalk script ----- on copyright -- Go To Stack, Copyright by Mac Help Co., January 1988 -- by Chris Hostetter, Mac Help Co., 1800 East Market Street -- Long Beach, CA 90805, (213) 428-7414 -- The script for this button is copyrighted and may not be -- used without the written permission of the author (above). end copyright on mouseUp Global StackSelected -- THE STACK THE USER SELECTED WILL BE IN THE VARIABLE StackSelected push card push card put the name of this stack into ThisStackName set lockscreen to true set cursor to 4 go to "the stack you wish to select" if the name of this stack is ThisStackName then exit mouseUp set lockscreen to true put the name of this stack into StackSelected ask "Do you wish to go to this stack" with StackSelected set cursor to 4 if it is empty then pop card pop card end if end mouseUp -- part 2 (button) -- low flags: 00 -- high flags: A004 -- rect: left=285 top=91 right=140 bottom=355 -- title width / last selected line: 0 -- icon id / first selected line: 17343 / 17343 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Application ----- HyperTalk script ----- on mouseUp put the name of this stack into ThisStackName set lockscreen to true set cursor to 4 open "the program you wish to start" if the name of this stack is ThisStackName then exit mouseUp end mouseUp -- part contents for background part 8 ----- text ----- Card 6 of 20 -- part contents for background part 9 ----- text ----- GO TO STACK Asks you, with a dialog box, to select the stack you wish to go to. The name of the selected stack will be put in the global variable 'SelectedStack'. It will then ask the user if they wish to go to that stack. (You might not actually want to go to that stack name, but instead may only want the name of the stack to use it in some way.) GO TO APPLICATION Asks you, with a dialog box, to select the program you wish to start.